package com.tripwego.shared.dto;

import java.io.Serializable;

public class TrajetDto extends JsniObjectMap implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static int counter = 0;

	private Long tripId;

	private PositionDto positionStart;

	private PositionDto positionEnd;

	private String mode;

	/**
	 * 
	 */
	public TrajetDto() {
		super();
		indexOnMap = counter++;
	}

	/**
	 * @return the tripId
	 */
	public Long getTripId() {
		return tripId;
	}

	/**
	 * @param tripId the tripId to set
	 */
	public void setTripId(Long tripId) {
		this.tripId = tripId;
	}

	/**
	 * @return the positionStart
	 */
	public PositionDto getPositionStart() {
		return positionStart;
	}

	/**
	 * @param positionStart the positionStart to set
	 */
	public void setPositionStart(PositionDto positionStart) {
		this.positionStart = positionStart;
	}

	/**
	 * @return the positionEnd
	 */
	public PositionDto getPositionEnd() {
		return positionEnd;
	}

	/**
	 * @param positionEnd the positionEnd to set
	 */
	public void setPositionEnd(PositionDto positionEnd) {
		this.positionEnd = positionEnd;
	}

	/**
	 * @return the mode
	 */
	public String getMode() {
		return mode;
	}

	/**
	 * @param mode the mode to set
	 */
	public void setMode(String mode) {
		this.mode = mode;
	}
	
	

}
